from yunying.excel import yunyingribao
import time
import datetime

import datetime
now = datetime.datetime.now().strftime("%Y")
time = datetime.datetime.now().timetuple()
VersionInfo = now +"-"+ str(time.tm_mon)
print(VersionInfo)

a= "aa 2020-8 is aa"
a=a.replace("2020-8", VersionInfo)
print(a)